package com.cbwl.eoas.common.framework.exception;

/**
 * <p>[描述信息：平台底层异常类]</p>
 *
 * @author yuyunbo
 * @version 1.0 Created on 2015-5-1 下午05:23:20
 */
public class FrameworkException extends Exception {

	private static final long serialVersionUID = -4500104522114673089L;

	// 异常代码
	private String code;

	// 异常信息
	private String msg;

	public FrameworkException() {
		super();
	}

	public FrameworkException(String msg) {
		this.msg = msg;
	}

	public FrameworkException(String code, String msg) {
		super(msg);
		this.code = code;
		this.msg = msg;
	}

	public FrameworkException(String msg, Throwable cause) {
		super(msg, cause);
	}

	public FrameworkException(Throwable cause) {
		super(cause);
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}
}
